const mongoose = require('mongoose')

const schema = new mongoose.Schema({
  date: { type: String },
  items: [{
    title: { type: String },
    imgurl: { type: String },
    url: { type: String },
    pageView: { type: String }
  }]
})

module.exports = mongoose.model('Video', schema)
